Providing graphics in images depicting aerodynamic flows and forces

ABSTRACT

A video broadcast of a live event is enhanced by providing graphics in the video in real time to depict the fluid flow around a moving object in the event and to provide other informative graphics regarding aerodynamic forces on the object. A detailed flow field around the object is calculated before the event, on an offline basis, for different speeds of the object and different locations of other nearby objects. The fluid flow data is represented by baseline data and modification factors or adjustments which are based on the speed of the object and the locations of the other objects. During the event, the modification factors are applied to the baseline data to determine fluid flow in real time, as the event is captured on video. In an example implementation, the objects are race cars which transmit their location and/or speed to a processing facility which provides the video.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. provisional patent app. No.60/952,519, titled “Providing Virtual Inserts Using Image Tracking WithCamera and Position Sensor,” filed Jul. 27, 2007, incorporated herein byreference.

This application is related to the following commonly assigned,co-pending applications filed herewith, each of which is incorporatedherein by reference:

U.S. patent application Ser. No. ______, titled “Providing VirtualInserts Using Image Tracking With Camera And Position Sensors” (Docketno.: SPTV-1112US1):U.S. patent application Ser. No. ______, titled “Detecting An Object InAn Image Using Edge Detection And Morphological Processing” (Docket no.:SPTV-1122);U.S. patent application Ser. No. ______, titled “Detecting An Object InAn Image Using Multiple Templates,” (Docket no.: SPTV-1123);U.S. patent application Ser. No. ______, titled “Detecting An Object InAn Image Using Templates Indexed to Location or Camera Sensors,” (Docketno.: SPTV-1124);U.S. patent application Ser. No. ______, titled “Detecting An Object InAn Image Using Camera Registration Data Indexed To Location Or CameraSensors,” (Docket no.: SPTV-1125); andU.S. patent application Ser. No. ______, titled “Identifying An ObjectIn An Image Using Color Profiles,” (Docket no.: SPTV-1126).

BACKGROUND OF THE INVENTION

Various techniques have been developed for enhancing video broadcasts oflive events. Broadcasts can be enhanced to assist the human viewer infollowing the action of the live event as well as providingentertainment and educational benefits. For example, during a sportingevent such as a car race, the video can be enhanced with graphics whichidentify the driver of a car. Further, information such as the speed ofthe car can be obtained via telemetry from the car and displayed in anon-screen graphic. Some approaches use GPS to detect the location of amoving object. For example, U.S. Pat. No. 6,744,403, issued Jun. 1,2004, titled “GPS Based Tracking System”, and incorporated herein byreference, describes a technique for tracking moving objects such asrace cars using GPS, other sensors and radio communications. The GlobalPositioning System (GPS) includes several earth-orbiting satelliteshaving orbits which are arranged so that at any time, anywhere on Earth,there are at least four satellites visible in the sky. A GPS receiver,which can be carried by a race car, for example, or other moving object,detects the signal from four or more of these satellites to determineits own location using multi-lateration.

U.S. Pat. No. 6,657,584, issued Dec. 2, 2003, titled “Locating An ObjectUsing GPS With Additional Data”, and incorporated herein by reference,describes a fault tolerant GPS system that can rely on other types ofdata if fewer than four satellites are available. For example, thelocation of a race car on a track can be determined using a model of thetrack to constrain a GPS based determination of position to a surface ofthe track.

However, when enhancing the video, various inaccuracies can arise. Forexample, it can be problematic to identify a particular object in avideo frame due to camera registration inaccuracies, the presence ofother similar objects in the frame and other factors. As a result,graphics and other enhancement may not be correctly positioned. Further,graphics which depicts aerodynamic flows and forces on an object havenot been available in broadcasts of live events.

SUMMARY OF THE INVENTION

The present invention addresses the above and other issues by providinga system and method for processing image data of a live event.

Techniques for enhancing a video broadcast of a live event are provided.One technique involves detecting a moving object in the event from avideo image. A representation of the object can be detected using, atemplate of the object. The template can be a pixel template, an edgedetected and morphologically processed template, or a color profiletemplate, among others. Combinations of different types of templates maybe used as well. The representation of the object in the image can bebased on data indicating an orientation of the object, a shape of theobject, an estimated size of the representation of the object in theimage, and the estimated position of the object in the image. Cameraregistration and/or sensor data can be updated based on a position ofthe detected representation for use in detecting a representation of theobject in a subsequent image. Graphics can also be provided based onaerodynamic flows and forces.

In one embodiment, a method for processing image data includes obtainingan image of a live event which is captured by at least one camera, wherethe live event includes an object, obtaining information regardingmovement of the object in the live event, determining a fluid flowrelative to the object based on the movement, and providing a graphic inthe image which depicts the fluid flow.

In another embodiment, a system for processing image data includes atleast one camera for capturing images of a live event, where the liveevent includes an object, and at least one processing facility whichreceives the images. The at least one processing facility: a) obtainsinformation regarding movement of the object in the live event for eachof the images, b) determines a fluid flow relative to the object foreach of the images, based on the movement, and c) updates a graphic ineach of the images which depicts the fluid flow.

In another embodiment, a method for processing image data includesobtaining an image of a live event which is captured by at least onecamera, where the live event includes an object, obtaining informationindicative of a speed of the object in the live event, determining atleast one aerodynamic force on the object based on the information, andproviding a graphic based on the at least one aerodynamic force.

Corresponding methods, systems and processor readable storage devicesare provided.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a live event in which objects are tracked by cameras.

FIG. 2 depicts a video image which includes a race car as a trackedobject.

FIG. 3 depicts a portion of the video image of FIG. 2 as a pixeltemplate.

FIG. 4 depicts an image showing vertical edges of the object of FIG. 2.

FIG. 5 depicts an image showing horizontal edges of the object of FIG.2.

FIG. 6 depicts an image formed by combining horizontal edges of FIG. 5which are near the vertical edges of FIG. 4, and performingmorphological processing on the combined image.

FIG. 7 depicts a template formed by a model of the object.

FIG. 8 depicts a video image showing objects and mesh models which areoffset from one another.

FIG. 9 a depicts the video image of FIG. 8 after correcting the offset.

FIG. 9 b depicts the video image of FIG. 9 a with added graphics.

FIG. 10 depicts a video image showing objects and textured models whichare offset from one another.

FIG. 11 depicts the video image of FIG. 10 after correcting the offset.

FIG. 12 depicts a relationship between camera, image and worldcoordinate systems.

FIG. 13 depicts an overview of a system for modifying video data.

FIG. 14 a depicts a process for detecting a representation of an objectin an image using a template.

FIG. 14 b depicts a process for updating camera registration and/orsensor data.

FIG. 14 c depicts a process for updating location data.

FIG. 15 a depicts processing of offset data using past and/or futureimages.

FIG. 15 b depicts a process for determining whether to add a graphic tovideo based on quality metric.

FIG. 16 depicts a process for detecting a representation of an object inan image via edge and morphology based template matching.

FIG. 17 depicts a process for detecting a representation of an object inan image using a template formed from video data of a prior image.

FIG. 18 depicts a process for detecting a representation of an object inan image using multiple templates.

FIG. 19 depicts a process for detecting a representation of an object inan image using templates indexed to location and/or camera sensor data.

FIG. 20 depicts a process for storing camera registration-related dataindexed to location and/or camera sensor data.

FIG. 21 depicts a process for determining a search area for detecting arepresentation of an object in an image using cameraregistration-related data indexed to location and/or camera sensor data.

FIG. 22 a depicts a color profile.

FIG. 22 b depicts a process for storing color profiles of known objects.

FIG. 23 depicts a process for using stored color profiles to identify anunknown object.

FIG. 24 a depicts an overview of a system for providing fluid flow data.

FIG. 24 b depicts a process for obtaining fluid flow data before anevent.

FIG. 24 c depicts a process for obtaining fluid flow data during anevent.

FIG. 25 depicts an image showing fluid flow graphics.

FIG. 26 depicts an image having a graphic which depicts fluid flowforces.

FIG. 27 depicts an overview of a system for providing aerodynamicforces/parameters.

FIG. 28 a depicts a process for obtaining aerodynamic parameters beforean event.

FIG. 28 b depicts a process for obtaining aerodynamic forces/parametersdata during an event.

FIG. 29 depicts camera, processing facility and on board objectcomponents for implementing the techniques discussed herein.

DETAILED DESCRIPTION

The present invention provides a system and method for processing imagedata of a live event.

FIG. 1 depicts a live event in which objects are tracked by cameras andGPS receivers. In one example application, objects such as a race cars102 and 104 traverse a course at an event facility 100 such as a racetrack. It will be appreciated that many other applications are possible.For example, vehicles other than race cars may be involved. Or, theobjects may be humans or animals. The object can be a ball or other gameobject in a sporting event. Further, the objects may travel on theground, on water, under water or in the air. The event facility 100includes a race course or track 101 on which the objects 102 and 104travel. Two objects are depicted as an example only, as one or moreobjects may be present. Further, the object may be stationary or moving.One or more cameras are positioned to capture images of the object. Forexample, cameras 110, 112, 114 and 116 are located at differentpositions along the course. The cameras can follow the objects as theytravel along the course. The arrangement of cameras shown is an exampleonly. Other views, including overhead views, views from the grandstandsand so forth can also be provided. Moving and on-board cameras can alsobe used.

The cameras 110, 112, 114 and 116 can be television broadcast cameras,for instance, which capture thirty frames or sixty fields per second, inone possible approach. In an example implementation, HD-SDI 720p videouses 60 frames/sec. While such cameras sense visible light, it is alsopossible to use cameras that sense electromagnetic radiation outside arange of visible light, such as infrared radiation, depending on theapplication. Further, note that other rates of image capture can beused. The location of the objects can be described in terms of a worldcoordinate system 130, also known as a free space coordinate system,which is fixed relative to the earth or other environment of interest,in one approach. The world coordinate system 130 includes orthogonaldirections represented by a wy axis, a wx axis, and a wz axis whichextends out of the page. An origin of the world coordinate system can bechosen to be at a specified location relative to the event facility 100.Or, the origin can be miles away from the event. Other world coordinatesystems whose axes are not orthogonal are also possible, including forexample coordinate systems which use latitude, longitude and elevation,spherical coordinate systems and so forth.

Each camera can be provided with sensors which detect intrinsic andextrinsic parameters of the camera when these parameters are variable.Intrinsic parameters, such as focal length, lens distortion and zoomsetting represent characteristics of the camera design and settings, anddo not depend on the position and orientation of the camera in space.Extrinsic parameters, such as tilt or pan, depend on the position andorientation of the camera in space. Such sensors can be provided usingtechniques known to those skilled in the art. For example, pan and tiltsensors can be attached to a tripod on which the camera is mounted. See,e.g., U.S. Pat. No. 5,912,700, issued Jun. 15, 1999, incorporated hereinby reference. The sensors can be used to determine the field of view ofthe camera. e.g., where the camera is pointing and what it can see.

It is also possible to determine camera extrinsic and intrinsicparameters without sensors. e.g., as described in Tsai's method. See,e.g., Tsai, Roger Y. (1986) “An Efficient and Accurate CameraCalibration Technique for 3D Machine Vision,” Proc. of IEEE Conf. onComputer Vision and Pattern Recognition, Miami Beach, Fla., 1986, pp.364-374. For example, one approach to determine the intrinsic andextrinsic parameters of a camera involves placing marks in variousmeasured or known locations in the event facility such that each marklooks different and at least one mark will always be visible to thecamera while the camera is pointed at the event facility. The markscould look identical and be distinguished through other means such asarrangement or triggering/flashing. A computer using optical recognitiontechnology can find the mark in the video frame and, based on the mark'ssize and position in the video frame, determine the camera parameters.Another approach to determining intrinsic and extrinsic parameters of acamera involves placing marks in various measured or known locations inthe event facility such that each mark looks different, but the marksmay be removed after camera parameters have been determined. A computerimplementing a camera parameter estimation algorithm based on manualuser interaction rather than, or in addition to, pattern recognition candetermine camera parameters.

The cameras capture images of the objects and communicate the images inanalog or digital signals by wire or other link to a processing facility140, which can be a mobile facility parked at or near the event facility100, in one possible approach. The processing facility 140 includesequipment which receives and stores the captured images, and processesthe captured images, such as to add graphics to the images. Inparticular, when the captured images are provided in video signals fromthe cameras, the processing facility 140 can enhance the video signalsbased at least in part on the determined position of the object. Exampleenhancements include a graphic which provides an identifier for theobject, such as an identifier of the driver of the car, an advertisementor other logo which is overlaid on the object, a graphic which depictsair or other fluid flow over the object and a graphic which depictsaerodynamic or other forces on the object. The processing facility 140can subsequently transmit the enhanced video, via an antenna 145 oroptical fibers etc., to another location such as a television broadcastfacility for broadcast to viewers in their homes. In another approach,the processing facility can be remote from the event facility 100.Enhancement of the images could also be performed in a studio or even atthe viewer's home, e.g., via a set top box.

Although examples are provided which involve broadcasts of televisionsignals, images can similarly be communicated to end users via a networksuch as the Internet, or a cell phone network, to computing devices suchdesktop computers, laptops, cell phones with image renderingcapabilities, portable digital assistants and the like. In one approach,the images are streamed to a computing device. The images can similarlybe downloaded as one or more files from a server. It is also possible totransmit the enhancement (or data to compute the enhancement) via aseparate mechanism or channel from that which transmits the video“program”.

As mentioned at the outset, various approaches can be used to determinethe position of an object. Some approaches use GPS to detect thelocation of a moving object. e.g., as described in above-mentioned U.S.Pat. No. 6,744,403. A GPS satellite 106 is depicted in FIG. 1 as anexample. A GPS receiver which is carried on board the object (see alsoFIG. 29) receives the GPS signals and determines the receiver'sposition. The receiver's position can then be relayed to the processingfacility 140 or other location via a wireless radio (RF) signal.Typically, a GPS antenna for an object such as a car is carried on theroof of the car. It is also possible for an object to use multiple GPSantennas, which can enable the determination or object orientation aswell. GPS can provide a location accuracy to within about 2 cm in idealsituations. The accuracy can be affected, e.g., due to weatherconditions, obstructions in the line of sight from the receiver to asatellite, such as buildings or hills, service problems with a satelliteand so forth. As an alternative to GPS, or as an additional approach,the object can carry a receiver which receives radio signals from localground based antennas, e.g., antennas 120, 122 and 124. The receiver canthen determine its location through multi-angulation and/ormulti-lateration, signal strength, carrier phase, and so forth. One formof multi-angulation is triangulation, and one form of multi-laterationis trilateration. The object can also communicate its position viatelemetry to the processing facility 140 or other location.

In yet another approach, the position of the object can be extrapolatedand/or interpolated based on the expected behavior of the object. Forexample, assuming the object is a vehicle traveling on repeated circuitsof a race course, every time the car crosses the start/finish line orother predetermined location, a signal can be generated from a timingand scoring system. For example, the signal can be generated usingtechnology which is similar to the loops that are used in a road tocontrol a traffic signal by indicating that a car is at an intersection.Such technology is available from AMB i.t. of Haarlem, The Netherlands.If the typical speed that a car moves at is known, or the number ofrotations of the wheels of the car can be tracked and converted todistance, the position of the car can be extrapolated by measuring thetime period from the last loop crossing. This could also be done usingIMU data. Thus, the object's location can be determined based on a timeand/or distance since the object passed a known location in the liveevent. In another approach, the car transmits a radio or otherelectromagnetic signal which is detected by sensors around the racecourse. The position of the car at a given time can therefore bedetermined based on when the sensors detect the signal, of where theyresolve the signals in their field of view carrier phase or the like. Inanother approach, an optical signal is used to determine a location ofthe object. The time/distance unit 2988 of FIG. 29 can be used toprovide time and/or distance data as discussed herein.

FIG. 2 depicts a video image which includes a race car as a trackedobject. The video image 200 includes a race car object 220 and a portionof another race car. Generally a video image can include one or moreobjects. A single object can be detected among other objects in an imageif a sufficient portion of the object is visible. This will vary indifferent situations. Further, factors such as lighting, visibility,e.g., due to rain or dust, object speed, camera resolution, how fast thecamera is panning, and the like will also impact the ability to detect agiven object. A search area 210 is also depicted in the video image 200.As described further below, various techniques can be used to determinean appropriate search area for identifying an object in an image. In oneapproach, an estimate of the position of the object in the race or otherlive event, along with knowledge of the camera's pose, can be used todetermine an estimated position of the object in the correspondingimage. In particular, a bounding box 215 can be defined which has a sizein pixel space which bounds an estimated size of a representation of theobject in the image. The search area 210 extends a specified number ofpixels around the bounding box, e.g., above, below, to the right and tothe left. In one approach, the search area is centered on the boundingbox. Factors such as the direction of motion of the object, camerasensor data, e.g., pan, tilt and zoom, the aspect ratio of the image andknowledge of location system inaccuracies, can also be used to set thesize, shape and location of the search area.

It can be seen that the bounding box 215 does not exactly bound therepresentation of the object 220, but is offset. This offset can becaused, e.g., by inaccuracies in the camera registration and/or sensordata, and/or inaccuracies in the location data which indicates alocation of the object in the live event. As described further below,the position and size of the bounding box 215 is based on an orientationof the object and a transformation function which transforms the object,with its given orientation, from the world coordinates of the live eventto pixel coordinates of the video image. The transformation, in turn,uses both camera registration data and camera sensor data. Thetransformation can include both distortion correction and a projectivetransformation, which are non-linear. A transformation function isconsidered to encompass use of a transformation matrix, which is usedfor linear transformations, while a transformation function isconsidered to encompass non-linear operations as well. Registration datagenerally refers to the calibration of the camera sensors and somephysical properties of the camera. For example, registration data caninclude pan offset, tilt offset, zoom field of view map, camera position(x,y,z), lens distortion and focus. These parameters are normallymeasured once per installation. Although, in one implementation, focusreadings are taken thirty times per second. Camera sensor data caninclude time varying pan, tilt, zoom, and focus data. These data are allsubject inaccuracies. For example, a camera may be registered to a highdegree of accuracy, but wind, vibration or other conditions can causemovement of the camera directly or via a platform on which it ismounted.

As a result of the above-mentioned error sources, the accuracy withwhich the position of the object in the image can be determined isreduced. For applications which rely on identification of an object inan image and insertion of graphics based on a position of the object inthe image, e.g., in real time, during the broadcast of a live event, forinstance, processing delays and inaccuracies can be problematic.Techniques are provided herein to increase the accuracy with which theposition of an object in an image is calculated. Predetermined colorsand/or patterns may be used to identify an object as well as to uniquelydistinguish one object from an otherwise similar object.

FIG. 3 depicts a portion of the video image of FIG. 2 as a pixeltemplate. The template can be static or can include a number of stillframes which are not from video or a number of video frames. Once theobject is detected in the image, the pixel data which represents theobject can be stored as a template 300 for use in detecting the objectin a subsequent image. In one approach, the template is a rectangularportion of the image which includes the object. The template can beapproximately the same size as the bounding box. The template can belarge enough to encompass the outer boundaries of the entire object, inone approach, or the outer boundaries of a significant portion of theobject, for instance. Alternatively, the template need not berectangular but can conform to the shape of the object, for instance.The template can be determined automatically from the detected positionof an object in an image by selecting a predetermined number of pixelsto the left, right, above and below the position, or according to someother pattern which is defined relative to the position of the object.

FIG. 4 depicts an image showing vertical edges of the object of FIG. 2.Pattern recognition techniques include edge detection, which involvesdetecting edges of objects in an image. The edges can be detected basedon contrasts in pixel data which extend generally vertically in an imageor otherwise along a specific direction. Edge detection can be performedusing luminance and/or chrominance pixel data from an image. Thechrominance pixel data can encompass any desired color space, includingmonochrome, RGB, YUV and HSV, among others, for instance. These edgesneed not represent physical features of the object, but may represent“edges” within patterns painted on the object, for example.

Generally, edge detection can be performed relative to any givenorientation in an image. For example, edge detection may occur relativeto a direction of motion of an object, e.g., parallel and/orperpendicular to the direction. In video images of a car race, forinstance, the direction of motion is typically horizontal across theframes as many camera shots involve panning. It is noted that while thecars generally move horizontally, their images can move at any angle,including vertically, within a video frame. The direction of motion ofan object can be assumed based on knowledge of the camera's position andmovements and the path of the object being tracked. Or, the direction ofmotion can be determined based on sensor data of the camera, e.g.,indicating pan, tilt and zoom. As an example, the panning direction ofthe camera can indicate the direction of motion. A camera can beinstrumented with sensors which detect such information. Or, thedirection of motion can be determined based on position differentials,e.g., the change in the position of an object over time. In anotherapproach, the change in the location of an object as measured by, e.g.,a GPS receiver on board the object, along with camera parameters, can beused to determine the direction of motion.

Often a camera will follow the moving object as it moves past a fixedbackground. Performing edge detection in a direction which isperpendicular to the direction of motion in the image can beadvantageous in distinguishing edges of a moving object because thebackground objects will have motion blur perpendicular to the directionof motion. The blurred edges of the perpendicular background objectswill not have a sharp edge. It is difficult to distinguish edges of themoving object from the edges in the background objects which areparallel to the direction of motion because the background object edgesare not blurred and are thus indistinguishable from the edges of thedesired moving object. The background objects can include the race tracksurface, walls, grandstands, poles, building and so forth. The bottomportion of FIG. 2 depicts an example of motion blur caused by stationaryobjects in the foreground.

The video images can be processed at the processing facility 140 byanalyzing the pixel data in each image. This processing can occur inreal time as each image is received. Real time processing can include,e.g., processing that occurs during a video broadcast of a live event.The image of FIG. 4 represents detected vertical edges 400. Note thatthe images of FIGS. 4-7 need not actually be rendered on screen but areprovided to indicate how the original image is processed. The data whichis represented by the images can exist solely in memory. As can be seen,most of the detected edges are part of the object, e.g., the car, whilesome stray vertical edges are detected as well.

FIG. 5 depicts an image showing horizontal edges of the object of FIG.2. Horizontal edge detection can be performed in additional to verticaledge detection. Or, as mentioned, edge detection which is parallel tothe direction of motion can be performed in addition to edge detectionwhich is perpendicular to the direction of motion. As discussed, motionblur results in edges of the object and edges outside the object beingdetected parallel to the direction of motion. The blur occurs in theprimary direction of motion, but it mostly affects edges that areperpendicular to that direction. As before, the video images can beprocessed at the processing facility 140 by analyzing the pixel data ineach image. This processing can occur in real time as each image isreceived. The image of FIG. 5 represents horizontal edge components 500.Here, the detected edges include edges which are part of the object,e.g., the car, as well as many stray horizontal edges which are part ofthe background and/or foreground environment of the object.

FIG. 6 depicts an image formed by combining horizontal edges of FIG. 5which are near the vertical edges of FIG. 4, and performingmorphological processing on the combined image. Morphological processingis one image processing technique which can be used to detect arepresentation of an object in an image. In one possible approach, theimage data of the vertical and horizontal edges is represented as abinary image, in which each pixel is restricted to a value of either 0or 1. Each pixel in the background is displayed as white, while eachpixel in the object is displayed as black. Binary images can be formed,e.g., by thresholding a grayscale image such that pixels with a valuegreater than a threshold are set to 1, while pixels with a value belowthe threshold are set to 0. The image data can be processed using twobasic morphological operations, namely dilation and erosion. Further,one could repeat this process for different color components of theobject. And of course it is not necessary that each pixel be restrictedto a value of 0 or 1, or that it even be monochrome in nature.

With erosion, every object pixel that is touching a background pixel ischanged into a background pixel. With dilation, every background pixelthat is touching an object pixel is changed into an object pixel.Erosion makes an object smaller and can break a single object intomultiple objects. Dilation makes an object larger, and can mergemultiple objects into one. Opening is defined as an erosion followed bya dilation. Closing is the opposite operation and is defined as adilation followed by an erosion. Opening tends to removes small islandsand thin filaments of object pixels, while closing tends to removesislands and thin filaments of background pixels.

In one approach, first edges, e.g., vertical edges or edges which areperpendicular to the direction of motion, are dilated and second edges,e.g., horizontal edges or edges which are parallel to the direction ofmotion, and which intersect the dilated first edges, are selected. Thesecond edges which do not intersect the dilated first edges arediscarded. Or, the second edges which are near the dilated first edges,e.g., a specified number of pixels away, can also be selected.Additional morphological processing can be performed to obtain datawhich is depicted by the image 600. This depiction provides a roughoutline of the object, or features of the object, in addition to somenoise.

Although morphological processing is discussed as an example, many imageprocessing techniques can be used to detect the representation of anobject in an image.

FIG. 7 depicts a template formed by a model of the object. The templateis also formed using knowledge of its orientation and location, as wellas knowledge of the camera pose at the time the image is taken. Theimage of FIG. 6 can be processed by comparing it to a template of theobject. In particular, a template 700 can be provided based on a shapeand orientation of the object, in addition to an estimated size of therepresentation of the object in the image. For example, the object canbe a car with a known shape which is modeled as a 3d mathematical model.See also FIG. 8, which depicts mesh models 802 and 812 of cars. Theorientation of the object can be determined based on an inertialmeasurement unit (IMU) carried on board the object. The IMU) can includegyroscopes which provide heading, pitch and/or roll information. Leadingcan also be determined using position differentials at different times.For example, if an object is in position P1(x1,y1,z1) at time t1 and inposition P2(x2,y2,z2) at time t2, the heading at a time which is halfwaybetween t1 and t2 can be computed as the vector P2-P1. Or, a model ofthe track that the object is traversing can be used to determine theorientation. The roll orientation, for example, can be computed based ona track normal at the location of the object. For example, location dataof the object in the live event can indicate where the object isrelative to the track. It can then be assumed that the object has aparticular orientation based on that location, e.g., the object has aheading which is in the direction of the track at the location, has aroll angle which is the bank angle of the track at the location, and hasa pitch angle which is the pitch of the track at the location.Alternatively, this information may be used with information from othersource to determine the object's orientation. It is also possible toperform rotating, skewing, and scaling captured templates to match theobject in its predicted location and orientation.

The estimated size of the representation of the object in the image canbe determined based on, e.g., sensor data of the camera, such as a zoomsetting of the camera, and a known distance from the camera to theobject. In one approach, the distance from a fixed camera position tothe object can be calculated for different locations of the track, andlocation data of the object can be used to determine the distance. Inanother approach, the camera and object both include location-detectingdevices such as GPS receivers, and the distance between the camera andthe object is based on a difference between their relative locations.

The template 700 is compared to the image 600 at each (sx, sy) pixellocation in the search area. See also FIG. 12 regarding coordinates inpixel space. In one approach, the image 600 and template 700 are bothbinary images. A cross-correlation between the image and template can bedetermined for each relation between template and image. This mayinclude scale, rotation, skewing, distorting either the template, theimage or both. The position of an optimum representation of the objectin the image can be determined based on the closest correlation, or acombination of correlation and expected location/orientation of theobject based on other matching methods, vehicle and camera behavior,vehicle location system, etc.

In another object detecting technique, the video template 300 of FIG. 3can be correlated with each different location in the search area 210 ofFIG. 2 to determine the position of an optimum representation of theobject in the image based on the closest correlation. Again, we can notonly translate, but also rotate, skew, scale, distort, etc. Furthermore,we don't necessarily have to limit the number of possible positions todiscrete pixel positions. Finally, we can achieve sub-pixel accuracy inseveral ways. The video template may be obtained, e.g., using edge andmorphology based template matching, as described previously. Thecorrelation can be made using luminance and/or chrominance data (in anycolor space). Further, multiple correlations can be made, each using adifferent color space or different color components, and the resultscombined.

Generally, multiple detecting techniques can be used and the results canbe merged or compared to obtain a final result regarding the position ofan object in an image. This would typically be done to make the most ofeach technique's strengths while avoiding each technique's weaknesses.For example one technique might be extremely accurate, but a poordiscriminator of matches to the wrong object, while another techniquemay be less accurate while providing good discrimination.

For example, comparison of the morphological image 600 to a template ofa model of the object 700, as depicted in FIGS. 6 and 7, respectively,can be performed to obtain a first determination of a position of theobject in the image, and comparison of the pixel data of a videotemplate 300 to video data 200 of the object, as depicted in FIGS. 2 and3, can be performed to obtain a second determination of a position ofthe object in the image. In some cases, the determined positions maydiffer. One approach is to determine a final position which is betweenthe determined positions. For example, assume first and second objectdetection techniques result in image position (sx1, sy1) and (sx2, sy2),respectively. A final object position in pixel space is then(0.5·(sx1+sx2), 0.5·(sy1+sy2)). Moreover, weights can be assigned to therespective positions so that one position is accorded a greater weightif it is obtained by a technique that is deemed more reliable, forinstance. In the above example, if weights of 0.25 and 0.75 are assignedto the first and second object detection techniques, respectively, afinal object position is (0.25·sx1+0.75·sx2, 0.25·sy1+0.75·sy2). Notethat the object position can be defined at the center of the object orat another reference location on the object.

One might use one technique to determine which local maximum to use ofthe other technique, and use that second technique to determine thefinal position of the object. When three or more technique are employed,voting schemes also offer certain advantages.

Another possible weighting scheme is as follows. In a first step, detectthe screen position (sx, sy) based on video template matching or otherfirst type of template matching. In a second step, detect the followingset of possible screen positions based on edge/morphology based templatematching or other second type of template matching: (sx1, sy1), (sx2,sy2), (sx3, sy3) . . . . Each one of these screen positions was detectedwith a certain correlation, e.g., c1, c2, c3 . . . . In a third step,among the positions detected in the second step, pick the one that isclose to the position detected in the first step and at the same timehas a good correlation (e.g., a correlation which exceeds a threshold).The following weighting function may be used to achieve this:w1*correlation+w2*(1−dist/maxdist), where dist is the Euclidean distancebetween a position detected in the second step and the position detectedin the first step, maxdist is the maximum of such distances computed.Also, w1 and w2 are weights, e.g., where w1+w2=1. This third step wouldbe repeated for every position detected in the second step, and the onethat gets the highest score according to the above formula will getpicked as the final result for the position of the representation of theobject in the image.

In another approach, multiple detections can be performed using a giventechnique and an average, mean or other statistical metric used todetermine the final position. A statistical metric based on detectionsusing multiple techniques can also be used. Positions which are outlierscan be omitted using signal processing techniques. Generally, signalprocessing techniques can be used to remove noise and random errors, andto omit results which are inconsistent with physical constraints of theobject, environment of the object, such as a race track, and/or the atleast one camera. As an example, if the following are the (sx, sy) imagepositions detected for an object in a sequence of consecutive frames:(100,150), (110,152), (210,154), (130,156), (140,157), using signalprocessing we can detect and remove the position (210,154) as outliersince the change in image positions of the object corresponds to achange in the object's locations in the live event which is notphysically possible for the object.

Techniques for detecting an object can be applied as well to detectingmultiple objects. Tracking multiple objects in parallel can beperformed, where the matching results of one object can be used torefine an initial estimate for the other objects, such as an estimate ofpositions of the representations of the other objects in an image.Further, the detection of one or more objects can occur repeatedly: oncefor each image in a series of images such as a video broadcast. Thetemplate 700 and other templates discussed herein can be generated onthe fly for each tracked object.

Also, when detecting, multiple objects, one might choose thosecandidates that imply the most similar inaccuracies as this suggestssystematic inaccuracies in the positioning system and/or knowledge ofcamera pose.

As mentioned, due to inaccuracies in camera registration and/or objectlocation data, the detected location of an object in an image can differfrom the expected location as determined by location data from GPS orother initial estimation techniques discussed herein. Inaccuracies whichcan be observed are illustrated below.

FIG. 8 depicts a video image showing objects and mesh models which areoffset from one another. The image includes objects 800 and 810 andmodels 802 and 812, respectively, which are overlaid on the image at therespective expected locations. An offset or offsets between the modelsand the objects is clearly seen. Note that a model or other graphic canalso be provided on a new image which is derived from the originalimage.

FIG. 9 a depicts the video image of FIG. 8 after correcting the offset.Here, the models are overlaid on the image at the detected locations ofthe objects in the image. As can be seen, there is a very close matchbetween the video representations of the objects and the models of theobjects. Note that the models can have a shape and appearance which isspecific to the object which it models.

FIG. 9 b depicts the video image of FIG. 9 a with added graphics. Withknowledge of the actual position of an object in an image, variousbenefits can be realized. For example, graphics can be combined with thepixel data of a video image to provide a combined image as discussedbelow. The graphics include a graphic 900 which is a logo oradvertisement which is overlaid on the object. Note that the mesh modelis also depicted for reference, but it is not necessary to display themodel, as the logo or advertisement can be overlaid directly on, orotherwise combined with, the video image of the object. The model isused to define the location and appearance of the logo so that itappears more realistic, as if it is actually painted on the object, orin the case of pointers, that it accurately points to the appropriateobject. If the logo was to be inserted into the image based on thelocation data-based position rather than the detected position, it wouldlikely not be positioned correctly and would not appear as if it waspart of the live event.

Note that pointers are intended to be accurate, but are not intended toappear as if they are a part of the live event. Also, graphics such asairflow graphics are intended to appear as if they were part of the liveevent, but unlike a logo, are not intended to give the illusion thatthey actually are part of the live event

Graphics 910 and 920 identify the objects based on the car number andthe driver's name. These graphic include pointers which extend to theobjects in the image. Again, detecting the actual position (and scale,orientation, etc.) of the objects in the image allows these graphics tobe correctly positioned. In one approach, the location data of theobject includes an identifier of the object which is used in theidentifying graphics 910 and 920.

Such graphics allow a television broadcast of a live event to beenhanced by providing information which allows the viewer to follow andlearn about the event and can enable the broadcaster to call attentionto specific objects or players the announcers/talent may wish todiscuss.

FIG. 10 depicts a video image showing objects and “textured” modelswhich are offset from one another. The texture does not necessarilyimply a physical relief in this context. The models of the objects canhave a texture or skin which mimics that of the real object. Forexample, models 1002 and 1012′ mimic the appearance of real objects 1000and 1010, respectively. FIG. 10 depicts the models when they are offsetdue to inaccuracies. FIG. 11 depicts the video image of FIG. 10 aftercorrecting the offset. Information regarding the paint scheme of eachobject, such as cars in a race, can be combined with knowledge of theshape of each object to provide the models depicted using known modelingand rendering techniques.

Further, we can consider the average offset as a camera registrationerror while the relative offsets of the models 1002 and 1012 are assumedto be positional errors, for example. Also, note that the texture of themodels can include color in a 4“pattern” sense as well as a “colorcontent” sense.

The models with the texture applied can also be used as templates in acorrelation process as discussed in connection with FIG. 18. FIG. 18describes a combination algorithm which uses model/edge based matchingand video template based matching. However, the textured model templateneed not necessarily be used in this combination algorithm. It can beused by itself. The model rendered with texture can be used as atemplate to match/correlate with the video directly.

A broadcast of a race, for instance, can be enhanced by overlaying amodel of a car over the video image, e.g., to highlight a car that isleading the race or is otherwise of interest. The models can be blendedin and out seamlessly to provide a continuous viewing experience.Similarly, other events can be enhanced by the addition of graphicswhich are located accurately with respect to objects in images, andwhich provide information which is specific to the objects.

FIG. 12 depicts a relationship between camera, image and worldcoordinate systems. A camera coordinate system 1210, which includesorthogonal axes X_(C), Y_(C) and Z_(C) in three dimensions, is fixedrelative to the camera. The origin of the coordinate system may be atthe front nodal point of the lens, in one possible approach, modelingthe camera as a pinhole camera. An image coordinate system 1220, alsoreferred to as pixel space, includes orthogonal axes X and Y intwo-dimensions, and is fixed relative to a captured image 1200. A worldcoordinate system 1230, which includes orthogonal axes X_(W), Y_(W) andZ_(W), is fixed relative to, e.g., the earth, the site of a live eventsuch as a stadium, or other reference point or location. The positionand/or path of the object 1240 can be determined in the world coordinatesystem 1230 in one possible approach, e.g. using GPS data or otherapproaches. The line of position 1212 is an imaginary line which extendsfrom the camera position (which in this case is at the origin of thecamera coordinate system 1210) through a pixel in the image 1200,intersecting the pixel at a point 1225, and through the object 1240.Each pixel in the image 1200 corresponds to a different line ofposition. Point 1225 in the captured image 1200 represents the locationof the object 1240) in the image. The location of the object in theimage 1200 can be represented by coordinates (sx, sy) in a coordinatesystem which has its origin at a corner of the image, in one approach.The coordinates may identify the center of the object.

Further, the line of position can be represented by a vector (LOP) whichhas unity magnitude, in one approach. The vector can be defined by twopoints along the LOP. The vector can be represented in the worldcoordinate system 1230 using an appropriate transformation from theimage coordinate system.

The Z_(C) axis of the camera coordinate system, which is the opticalaxis 1214 of the camera, intersects the captured image at a pointrepresented by coordinates (0_(x), 0y). A two-dimensional coordinatesystem extending from (0_(x), 0_(y)) can also be defined.

The camera registration process involves obtaining one or moretransformation matrices or functions which provide a conversion betweenthe image coordinate system 1220 and the world coordinate system 1230.Further information can be found in E. Trucco and A. Verri,“Introductory techniques for 3-D computer vision,” chapter 6, PrenticeHall, 1998, U.S. Pat. No. 5,912,700, issued Jun. 15, 1999, and U.S. Pat.No. 6,133,946, issued Oct. 17, 2000, each of which is incorporatedherein by reference.

With the above framework, a location of an object at a live event can betransformed to a position: orientation, etc. in the image, and searchparameters for detecting the object can be defined based on thisposition. Search parameters can encompass a search area as well as otherinformation for searching. Moreover, the detected location, orientation,scale, etc., of an object in an image can be used to correct locationdata and camera registration and/or sensor data as described herein.

FIG. 13 depicts an overview of a system for modifying video data. Thesystem is depicted in a conceptual overview as including a number ofprocessing components 1300 which act on input video data 1310 to provideoutput video data 1328. The input video data can be obtained. e.g., froma broadcast of a live event, from delayed video of the live event, orfrom a replay during or after the live event. The processing componentscan include different types of information, including object orientation1312, object position 1314, object shape 1316, a track model 1318 for anobject which moves on a track, camera sensor data 1320, cameraregistration data 1322, graphics 1324 and a fluid flow model 1326. Theprocessing components can be provided to the processing facility 140 foruse in providing graphics or other enhancements in the output video data1328. Some of the processing components are predetermined/precomputedbefore images of an event are obtained. These can include, e.g., objectshape, track model, initial camera registration data, graphics and fluidflow model. Some of the processing components can be obtained or updatedduring an event, such as object orientation, object position, camerasensor data and inputs to the fluid flow model. Further informationregarding the processing components is provided below. Furtherinformation regarding the fluid flow model 1326 is provided inconnection with FIGS. 24-28.

FIG. 14 a depicts a process for detecting a representation of an objectin an image using a template. As mentioned previously, the position of arepresentation of an object in an image can be determined throughcorrelation with a template of the object. Further, the template caninclude a binary image of the object which is obtained from edge andmorphology based template matching (see also FIG. 16) and/or a videotemplate which includes pixel data of the object from a prior image.Multiple detection techniques can also be used and the results combined.An example process includes, at step 1400, determining the orientationof an object such as based on an inertial measurement unit carried bythe object, a track model and/or position differentials at differenttimes, as discussed previously in connection with FIG. 1. Note that theorientation data need not be updated as quickly as a typical video framerate as it typically does not change that quickly.

Step 1402 includes determining the location of the object in the liveevent, e.g., based on GPS or other location data. Step 1404 includesobtaining camera registration data. Step 1406 includes determining anestimated size, orientation and position of the object in the image.This can be achieved, e.g., by transforming the size, orientation andposition of the object in the live event from world coordinates to imagecoordinates using a transformation matrix which is based on the cameraregistration and sensor data. Step 1408 includes determining a set ofsearch parameters (e.g. a search area) for the object, as discussedpreviously in connection with FIG. 2. Step 1410 includes defining atemplate based on the estimated size, orientation and position(distortion, perspective etc.) of the object in the image. Step 1412includes searching for a representation of the object in the image,e.g., in the search area, by correlation with the template. Once theposition, orientation. etc. of the representation of the object in theimage is determined, it can be stored for subsequent use and/orreported, e.g., via a user interface, printer or other output device.The position can also be used for providing graphics in the image and/orfor updating camera registration and/or sensor data (step 1414) and/orupdating location data (step 1416). This applies also to any of theother approaches discussed herein for detecting a representation of anobject in an image.

In particular, camera registration and sensor data are subject toinaccuracies due to, e.g., wind, vibration or other conditions that cancause movement of the camera. Inaccuracies in camera registration datacan also occur due to inaccuracies in the position of registration marksin the event facility, inaccuracies in determining the camera locationand so forth. By updating the camera registration and/or sensor data formany or all frames based on the detected position of an object, theseinaccuracies can be compensated. Further, the camera registration and/orsensor data for a given frame can be refined using the updated cameraregistration and/or sensor data from a prior frame so that the data iscontinuously refined from image to image. Thus, one approach involvesupdating registration data of a camera based on the position of therepresentation of an object in an image. Another approach involvesupdating sensor data of a camera based on the position of therepresentation of an object in an image. Another approach is to computea new transformation matrix or function based on the position of therepresentation of an object in an image. The transformation matrix orfunction can provide a conversion between an image coordinate system anda world coordinate system, or between an uncorrected image coordinatesystem and a corrected image coordinate system, or otherwise betweendifferent image coordinate systems, for instance.

Further, location data of the object in the live event, such as from aGPS receiver, is subject to inaccuracies. Thus, a transformation of anobject location from world coordinates to image coordinates may notalign with the video image of the object due to such inaccuracies. Oneapproach to determining whether the camera data or the location data isincorrect is to observe the expected locations of multiple objects in animage based on their location data relative to their actual locations inan image and relative to reference locations in the image, such as thewall at the edge of a race track. If the expected locations of all ofthe objects are offset by a certain amount in a similar way, thisindicates the inaccuracy is likely due to the camera registration and/orsensor data. For example. FIG. 8 depicts how models 802 and 812 areoffset similarly from objects 800 and 810, respectively. If the expectedlocations of some of the objects are offset by a certain amount in asimilar way while the expected locations of other objects are offset bya different amount, this indicates the inaccuracy is likely due to thelocation data of the offset objects. A human operator can observe theimages with the overlaid models to make this determination, or thisprocess can be automated. Moreover, tracking of a stationary object suchas a wall or pole will give a better sense of registration inaccuraciescompared to tracking a moving object. Once it is determined that aninaccuracy is caused by the location data of a particular object, anappropriate update can be applied to the location data of that objectfor the current image and/or subsequent images.

FIG. 14 b depicts a process for updating camera registration and/orsensor data (step 1420). Step 1422 includes determining cameraregistration and/or sensor data which corresponds to the detectedposition of an object in an image. Step 1424 includes determining anoffset to the camera registration and/or sensor data based on an offsetbetween the detected position of the object in the image and a positionof the object in the image which is based on the location data. Theoffset may be expressed in image space as (Δsx, Δsy), for instance.Further, the offset in pixel space may be converted to registration dataadjustments, and pan and tilt offsets, for example. Step 1426 includesapplying the offset to camera registration and/or sensor data for a nextimage. In another approach, instead of determining an offset, new cameraregistration and/or sensor data can be determined outright based on thedetected position of the object in the image, and this new data can beused for the current and/or subsequent images. The process can berepeated for each successive image.

FIG. 14 c depicts a process for updating location data (step 1430). Step1432 includes transforming the detected position of the object in theimage from pixel space to an updated location in world coordinates. Step1434 includes determining an offset in world coordinates between theoriginal location and the updated location. The offset may be expressedas a 3d vector in world coordinates, for instance. Step 1436 includesapplying the offset to location data for the current and/or subsequentimage. The process can be repeated for each successive image.

Note that in this and other flowcharts the steps depicted need not occuras discrete steps and/or in the sequences depicted. Further, thedetection of one or more objects can occur repeatedly, once for eachimage in a series of images such as a video broadcast.

FIG. 15 a depicts processing of offset data using past and/or futureimages. The offset or inaccuracy between the expected position of anobject in an image based on location data of the object and the detectedposition of the object in the image can be determined for successiveimages. Further, the offset for a given image can be processed based onthe offset from past and/or future images. Appropriate buffering ordelay techniques can be used. For example, at times, the car or otherobject can be obscured by objects around the track (e.g., buildings,fences, motorhomes, flags, etc). When this happens, the correlationbetween the template and image is poor and can result in a match. i.e.,a detected object position in the image, that is not correct. Thisproblem can be addresses by storing the (sx, sy) image offset betweenthe object in image space and where the matching algorithm finds amatch, for successive images. This offset tends to move slowly as thecar progresses around the track. We can also look into the future byprocessing every frame of video, but reporting a final result severalframes behind. Thus we can evaluate the (sx, sy) offsets of matches inthe past as well as (sx, sy) offsets of matches in the future. In theprocess of reporting the final result of the detected position of theobject in an image, we can run a median filter on the sx, sy offset oversuccessive images. This tends to remove outlying answers that areerroneous when the object is obscured.

In an example process, step 1500 includes detecting an (sx, sy) offsetbetween the expected position of object in an image, e.g., based onlocation data of the object in the live event transformed to imagespace, and the detected position of the object in the image, forsuccessive images i= . . . n−2, n−1, n, n+1, n+2, . . . . Step 1502includes filtering the offset for image n based on offsets for pastimages n−2 and n−1 and subsequent images n+1 and n+2. In this example,two previous images and two subsequent images are used for filtering,although this can vary. Step 1504 includes reporting, a final offsetresult for image n based on the filtering.

FIG. 15 b depicts a process for determining whether to add a graphic tovideo based on quality metric. In some case it may not be possible toidentify an object in an image with good reliability. This can occur dueto weather or lighting conditions, the presence of occluding objects orstructures, or other factors. Accordingly, it can be desirable toprovide a quality check before combining graphics with an image based onobject detection. In one approach, this can be achieved by providing aquality metric which is based on the correlation of the template to theobject in the search area. As mentioned, one or more template can becorrelated with different candidate representations of an object in asearch area. The template can be shifted one pixel at a time inhorizontal and vertical directions and a cross-correlation performed ateach position. Shifting by sub-pixel amounts is also possible as arescale, skew and rotation operations. The position which results in thehighest correlation value can then be taken as the detected objectposition, in one approach. Further, the correlation value itself can betake as a quality metric or associated with a quality metric so that astronger correlation is associated with a greater quality.

Best quality may also be determined through a combination of bestcorrelation along with other parameters such as expected position orcorrelations achieved through alternate pattern recognition techniques.

Step 1510 includes correlating a template of an object with candidaterepresentations of the object to select an optimum representation. Step1512 includes calculating a quality metric based on the optimumcorrelation. Decision step 1514 determines whether the quality isacceptable, e.g., based on whether the quality metric exceeds athreshold. If the quality is not acceptable, the video is broadcastwithout graphics, at step 1516. Or, the video can be broadcast using nocorrection, or using an interpolated or extrapolated correction fromcorrections to nearby images. If the quality is acceptable, graphicsdata is combined with pixel data of the image substantially in real timein a video broadcast, in one possible approach, at step 1518. Finally,step 1520 includes broadcasting the video with the graphics.

FIG. 16 depicts a process for detecting a representation of an object inan image via edge and morphology based template matching. Refer also tothe discussion in connection with FIGS. 4-7. Step 1600 includesobtaining an image of a live event which include one or more objectswhich are to be tracked, e.g., detected in the image. Step 1602 includesdetermining a corresponding location of the object, e.g., at a timewhich corresponds to a time the image was captured. Note that locationdata, as well as other data such as camera sensor data, can beinterpolated as it will not necessarily coincide precisely with theimage capture time. Step 1604 includes determining an orientation of theobject at the time of the image. Step 1606 includes obtaining cameraregistration and sensor data at the time of the image. Step 1608includes determining an estimated location, size and orientation (skew,distortion, etc.) of a representation of the object in the image. Step1610 includes defining the template based on the estimated location,size and orientation of the object in the image, and defining the searcharea based on the size and location of the template. For example, thetemplate can be obtained by rendering a model of the object in theestimated location with the estimated orientation, and the search areacan be determined around the rendered model. Step 1612 includesdetecting first edges in the search area which extend in a firstdirection. The first direction can be perpendicular to a direction ofmotion, horizontal across the image, or any other direction.

We can also do edge detection in one or many directions, not just twodirections. We can also use camera pan/tilt rate, focus, and shuttertime to estimate the amount and nature of blur expected in the image.

Step 1614 includes detecting second edges in the search area whichextend in a second direction. The second direction can be perpendicularto the first direction, parallel to the direction of motion, verticalacross the image, or any other direction. Step 1616 includes dilatingthe first edges and step 1618 includes selecting the second edges whichintersect the dilated first edges. Non-intersecting second edges arediscarded, in one approach. Step 1620 includes combining the first edgeswith the selected second edges, and step 1622 includes performingmorphological processing of combined edges to obtain a representation ofthe object. Finally, step 1674 includes correlating a template of theobject with candidate representations of the object in the search areato select an optimum representation.

FIG. 17 depicts a process for detecting a representation of an object inan image using a template formed from video data of a prior image, e.g.prior to the image in which object detection occurs. It is also possibleto transform the template in scale, orientation, etc. based on expectedappearance—either through interpolation/extrapolation, or through pan,tilt and zoom (PTZ) and position data. See also FIG. 3, which providesan example of such a template 300. In another approach, a video templatecan be a composite of video templates in multiple prior images. Also,multiple templates might be used, for example, one for each colorcomponent or other processing of the image.

Further, the template may be updated for each current image so that atemplate from the last prior image is used in the detecting of eachcurrent image. Or, a given template may be used in the detecting of anumber of successive images. In another approach, discussed inconnection with FIG. 19, different video templates can be indexed toobject location and/or camera sensor data. These approaches are alladvantageous since the video template can be affected by the samelighting, weather conditions and other factors which are experienced bythe images in which detection occurs, thus allowing more accuratematching.

Further, the video or pixel template can include luminance and/orchrominance data, and the chrominance data can be provided in any colorspace. Luminance and chrominance imply a subset of the color spaces.RGB, for example, doesn't break down into these components, but may alsobe useful component by component. The matching or correlating with theimage data in the search area can generally occur in the same colorspace, or portion thereof, as the video template. Also, as mentionedpreviously, and as discussed in connection with FIG. 18, matching usinga video template can be valuable by itself or in conjunction with othermatching) techniques.

Step 1700 includes obtaining a first image of a live event whichincludes one or more objects to be tracked. Step 1702 includes detectinga representation of the object in the first image, e.g., by correlationwith a video, binary or other template or via other pattern detectiontechnique. The representation of the object in the first image couldalso be determined manually by a human operator using an appropriateinterface. Step 1704 includes storing pixel data of the representationof the object as a template for future use. In one approach (see FIG.3), a rectangle which is a portion of the image is stored as thetemplate. The template can be stored in a volatile working memory of aprocessor and/or a hard disk or other non-volatile storage, forinstance. Step 1706 includes obtaining a second image of the live eventwhich includes the object. For example, this can be the next frame in avideo signal. Step 1708 includes detecting a representation of theobject by correlation using the previously-stored template of pixeldata.

At this point, at least three different paths can be taken. Step 1710includes storing pixel data of the representation of the object in thesecond image as a template for detection in a third image. In this case,the template obtained from the first image is no longer used and can bediscarded. Step 1710 includes using the template from the first imagefor detection in the third image. In this case, no template is obtainedfrom the second image, and the template from the first image is reusedin the third image. Step 1714 includes forming a combined template fromthe first and second images for detection in the third image. Thecombined template can be formed, e.g., by taking an average or otherstatistical metric of pixel values for corresponding pixel locations inthe templates and may involve transforming templates based on expectedor measured parameters.

In addition, a third template can be constructed using the first andsecond templates and knowledge of the geometry of the transformationfrom world coordinates to image coordinates in both cases. For example,textures can be derived from the first template and texture mapped ontoa model of the object in proper orientation for the first template.Similarly, textures from the second template can be derived and texturemapped onto the same model of the object in proper orientation for thesecond template. This can provide texture mapped image data on a greaterportion of the model than from a single template. This process can beextended to any number of templates.

FIG. 18 depicts a process for detecting a representation of an object inan image using multiple templates. As discussed, an object can bedetected in an image using multiple templates. A final result whichindicates the position can be determined based on the results frommatching with each template. Further, multiple results can be obtainedfrom the same template to provide a result with greater reliability.

Step 1800 includes obtaining a first image of a live event whichincludes one or more objects to be tracked. Step 1802 includes detectinga representation of the object in the image, e.g., by correlation with avideo, binary or other template or via other pattern detectiontechnique. Step 1804 includes storing pixel data of the representationof the object as a first template. Step 1806 includes obtaining a secondimage of a live event which includes the one or more objects to betracked. Step 1808 includes detecting a first representation of theobject in the second image using the first template. Step 1810 includesdetecting a second representation of the object in the second imageusing a second template, e.g., which is based on a model of the objectconfigured with an appropriate orientation and size. In one approach,the second template can be analogous to the binary template 700 of FIG.7.

In another approach, the template can comprise a model of the objectwhich has a texture that mimics a texture of the object. For example, asdiscussed in connection with FIG. 10, see models 1002 and 1012.Information regarding the paint scheme of each object, such as cars in arace, can be combined with knowledge of the shape of each object toprovide the models depicted using known modeling techniques such astexture generation and texture flapping. Lighting models can also beused to set the model texture. For example, when rendering the objectmodel, lighting models and shadow rendering techniques can be used tomake the rendered object look more realistic. i.e. look more like thereal object in the video. The luminance and chrominance data of themodel can be used as a template. The texture can be a pre-created skinor created oil the fly from matched positions in a video of the object,e.g., during training laps before a race. In other words, the texturecan be reconstructed or refined from video data. Further, the texturedmodel template can used alone or in combination with another template asdiscussed herein in connection with FIG. 18.

Further, the detecting of step 1810 can be performed over a smallersearch area than a larger area used in step 1808 based on the objectposition detected in step 1808, e.g., to fine tune the match found instep 1808. For example, the smaller area can be at least partiallywithin the larger area. This approach can also reset an accumulatingerror which can occur when a purely pixel template based approach isused from frame to frame and then the next frame and so on. Step 1812includes optionally assigning a weight to each result. For example,refer to the weighting schemes discussed in connection with FIG. 7. Step1814 includes determining a final position of a representation of theobject in the image based on the multiple results. Obtaining a finalresult by merging or comparing results from multiple detectingtechniques is discussed further in connection with FIG. 7.

FIG. 19 depicts a process for detecting a representation of an object inan image using templates indexed to location and/or camera sensor data.Object detection can be facilitated when the object repeatedly traversesa course since lighting, camera angles and the like tend to be repeatedat different locations along the course. In one approach, templates fordetecting the object can be obtained when the object is at differentlocations along the course in a first traversal of the course. During asecond or other subsequent traversal of the course, the templates can beretrieved and used for object detection for images that are obtainedwhen the object is at the different locations along the course. Thetemplates can be stored indexed to location data and/or camera sensordata, which is a proxy for location data.

In an example approach, in a first traversal, which may be a practicelap of a race, for instance, location data from the object is recordedperiodically, e.g., once per second, or at designated locations aroundthe course, as world coordinates (wx, wy, wz). The templates may bepixel templates (see FIG. 3), for instance, which are obtained from theimages which correspond in time to the locations, and stored indexed tothe location data, (wx, wy, wz), for each entry. Or, the templates canbe edge and morphology based templates, or other types. During a secondtraversal, location data of the object which corresponds to each imageis obtained, and the corresponding template is retrieved for each imageand used for object detection. The location data used for indexing whichis closest to the location data obtained in the second traversal may beselected, in one approach.

In an example process, step 1900 includes obtaining a first set ofimages of a live event which includes an object at different locations,e.g., along a course. Step 1902 includes detecting a representation ofthe object in each image, which need not be every available image, usingany detection technique. Step 1904 includes storing templates of therepresentation of the object in each image. Step 1906 includes indexingthe templates to location and/or camera sensor data. Step 1908 includesobtaining a new image, e.g., as the object traverses the course a secondtime. Step 1910 includes determining location and/or camera sensor datafor the new image. Step 1912 includes retrieving the correspondingtemplate, and step 1914 includes detecting a representation of theobject in the new image using the template. It is also possible todetect a representation of the object in multiple new images using oneretrieved template.

FIG. 20 depicts a process for storing camera registration-related dataindexed to location and/or camera sensor data. As mentioned inconnection with FIGS. 14 a and b, updated or new camera registrationand/or sensor data can be provided for each image in a video signalbased on the position of a detected object in an image. Further, theupdated or new camera registration and/or sensor data from a given imagecan be used in a next image. In this way, the camera registration and/orsensor data can be continuously refined so that object detection isfacilitated and smaller search areas can be used. In another approach,updated or new camera registration and/or sensor data can be obtainedand stored for different locations which an object traverses. e.g.,along a race track or other course, during a first traversal of thecourse. During the second or other subsequent traversal of the course,the updated or new camera registration and/or sensor data can beretrieved and used for object detection for images that are obtainedwhen the object is at the different locations along the course. Theupdated or new camera registration and/or sensor data can be storedindexed to location data and/or camera sensor data which is a proxy forlocation data.

In an example approach, in a first traversal, location data of theobject is recorded periodically, e.g., once per second, or at designatedlocations around the course, as world coordinates (wx, wy, wz). Theupdated or new camera registration and/or sensor data is determined andstored indexed to location, (wx, wy, wz), or camera sensor data, foreach entry. During a second traversal, location data or camera sensordata is obtained for each image, and the corresponding updated or newcamera registration and/or sensor data is retrieved for each image andused to define a search area for object detection. The location data orcamera sensor data is used for indexing which is closest to the locationdata or camera sensor data, respectively, obtained in the secondtraversal may be selected, in one approach. Or, we can interpolate orbuild a correction surface model. It is also possible to store updatedor new camera registration and/or sensor data from the second traversalfor use in the third traversal, and so forth.

In an example process, step 2000 includes obtaining a first set ofimages of a live event which includes an object at different locations,e.g., along a course. Step 2002 includes detecting a representation ofthe object in each image using any detection technique. Step 2004includes determining camera registration-related data for each image,e.g., based on the detected representation of the object in each image.The camera registration-related data can include updates to registrationparameters and/or registration parameters themselves. Step 2006 includesstoring the camera registration-related data for each image. Step 2008includes indexing the camera registration-related data to locationand/or camera sensor data.

Optionally, steps 2000 and 2002 are not used. Instead, the camerafollows the object at different locations in the live event but does notcapture images, or the images are captured but not used in detecting therepresentation of the object in each image.

FIG. 21 depicts a process for determining) a search area for detecting arepresentation of all object in an image using cameraregistration-related data indexed to location and/or camera sensor data.Once the process of FIG. 19 is performed, the indexed cameraregistration-related data can be used in a subsequent traversal of thecourse. In an example process, step 2100 includes obtaining a new image,e.g., as the object traverses the course a second time. Step 2102includes determining location and/or camera sensor data for the newimage. Step 2104 includes retrieving the corresponding, cameraregistration-related data. Step 2106 includes transforming the locationand/or camera sensor data to an estimated position in the new imageusing the camera registration-related data. For example, this caninclude providing a transformation function which is based on the cameraregistration-related data, and applying the transformation to thelocation and/or camera sensor data. Step 2108 includes determining asearch area in the new image based on the estimated position of theobject in the image. Due to the improved accuracy of the estimatedposition in the new image which results from the use of the storedcamera registration-related data, a smaller search area can be used thanif would otherwise be the case. Finally, step 2110 includes detecting arepresentation of the object in the search area. It is also possible tostore new camera registration-related data from the second traversal foruse in the third traversals and so forth.

FIG. 22 a depicts a color profile. In one approach, a color profile orsignature involves a distribution of color data of an image of an objectacross a color space palette. The color profile can be expressed by ahistogram, where each vertical bar indicates, by its height, a number ofpixels which have been classified into a particular bin or range ofcolors in a color space. Most color spaces include multiple components.For example, a 24-bit implementation of the RGB color space includes8-bits (256 levels, labeled from 0-255) each for red, green and bluecomponents. A color profile can include bins which each encompass arange of color components. In an example approach, each color componentis divided into eight color component bins, one bin each for levels 0-31(B0), 32-63 (B1), 64-95 (B2), 96-127 (B3), 128-155 (B4), 156-203 (B5),204-236 (B6) and 237-255 (B7), B0-7 denotes color component bins 1-7,respectively. Further, using the nomenclature of R-B1 through R-B7 forbins 1-7 of the red (R) component. G-B1 through G-B7 for bins 1-7 of thegreen (G) component, and B-B1 through B-B7 for bins 1-7 of the blue (B)component, bins for the entire color space can be defined by acombination of the bins for the individual color components. A total of512 (8×8×8) bins can be defined. For example, color space bin #1=[R-B0,G-B0, B-B0], color space bin #2=[R-B1, G-B0 B-B0], color space bin#3=[R-B2, G-B0, B-B0], . . . and color space bin #512 [R-B7, G-B7,B-B7]. The example can be modified for other color spaces e.g., YUV.HSV, monochrome and so forth.

Thus, color data of a representation of the object can be classifiedinto different bins for different color components of a multi-componentcolor space, e.g., bins for R, bins for G and bins for B components.And, a color profile of the representation of the object can be obtainedby classifying the different bins for the different color componentsinto different bins for the multi-component color space, e.g., colorspace bin #1, #2, #3, etc.

We need not always construct a 3D histogram with all three colorcomponents. For example, we can obtain a 2D histogram (8×8=64 bins, forexample) with only the H and S components of the HSV color space.Further, a 1D histogram (with just 8 bins, for example) with, say, justthe R component of RGB is possible as well. Further, multiple ID and 2Dhistograms can be used in combination. For example, we may use a 2Dhistogram for the H and S components of the HSV color space and combinethis 2D histogram with a 1D histogram for the V component of the HSVcolor space. As another example, three 1D histograms, each for H, S andV components, may be combined.

Further, rather than using a “fixed” histogram, one could use ahistogram of “ranges” containing the minimum and maximum expected colorcontent for each color bin in the histogram. These ranges can be used toaccommodate changes in lighting, vehicle orientation, or the viewpointof the vehicle from the camera, for example. The viewpoint may beexpressed in terms of camera sensor parameters, for instance. Moreover,it is possible to consider only the color composition of the objectwhile disregarding the pattern made by those colors. One can consideronly the colors of the object in question, using a mask to avoidconsideration of background colors. This mask could be made from a modelof the object along with the position information for that object andthe camera registration/pan, tilt, zoom (PTZ) parameters. Further,colors which are common to objects which are being distinguished fromone another may be excluded. One might also produce a three (or more)dimensional histogram such that color composition can be looked up byobject orientation as well.

FIG. 22 b depicts a process for storing color profiles of known objects.In an example process, step 2200 includes obtaining initial images ofone or more known objects, such as cars in a race. Step 2202 includesobtaining a color profile for each object. Step 2204 notes that thecolor profile indicates a number of pixels in different color space bins(e.g., bins #1, #2, . . . as described above) for each object.Essentially, the values of the color components of each pixel are usedto classify each pixel into a bin. The number of pixels in each bin isthen tabulated. Using the above example, a pixel with an R value of 57,a G value of 89 and a B value of 133 would be classified into colorcomponent bins of R-B1 (since 57 is in the range 32-63), G-B2 (since 89is in the range 64-95) and B-B4 (since 133 is in the range of 128-155).The pixel can then be classified into a color space bin based on thebins of the three components. Step 2206 includes removing at least somecolor data from the color profiles which is common to the differentobjects. For example, the color profiles may be based on pixels in arectangle which bounds the object (see FIG. 3). In this case, some ofthe background pixels which represent the track may be common todifferent objects. Another possible approach for removing backgroundpixels is to eliminate known background colors (such as the color of thetrack) before creating the histograms of the objects. Step 2208 includesstoring the color profiles as templates, indexed to identifiers of theobjects.

In the example of race cars, the initial images which are used to obtainthe color profiles can be obtained, e.g., from prior video images, fromstatic images of the cars or from information regarding the paint schemeof the car.

FIG. 23 depicts a process for using stored color profiles to identify anunknown object. Step 2300 includes obtaining an image of unknownobjects. Note that the color profiles can be used to identify a singleobject or to distinguish among multiple objects. Multiple objects arediscussed as an example only. Step 2302 includes detecting objects inthe images, e.g., using any detection technique. Step 2304 includesobtaining a current color profile for each object. As mentioned inconnection with FIG. 22 b, this can involve classifying the pixels whichmake up the object. Surrounding pixels can be used as well, Such as in arectangle which bounds the object (see FIG. 3). Step 2306 includesretrieving the template color profiles and comparing them to the currentcolor profiles. Step 2308 includes determining a template color profilewhich is closest to the current color profile, for each unknown object.As an example, a distance between bin #=[R-B0, G-B0. B-B0] and bin#2=[R-B1, G-B0, B-B0] can be counted as one, since one of the colorcomponents differs by one component bin level, and a distance betweenbin #1=[R-B0. G-B0, B-B0] and bin #3=[R-B2, G-B0, B-B0] can be countedas two, since one of the color components different by two component binlevels. Any type of distance metric can be used to determine the closestmatch. Step 2310 includes identifying the unknown objects based on theclosest template color profile.

Optionally, the color profile matching can occur at different levels ofgranularity so that a coarser level is used first. If the coarser levelresults in two or more objects in an image being matched to the sametemplate color profile, or results in a single object in an image beingmatched to a template color profile which is shared with another object,which is not necessarily in the same image, the matching process can berepeated at a finer level of granularity. For example, the coarsergranularity may involve combining the color space bins into “superbins”. So, for example, instead of 512 color space bins, there may be256 super bins. To illustrate, bins #1 and #2 can be combined into asuper bin #1. The finer granularity can involve matching at the level ofthe individual color space bins.

In another option, the color profiles account for lighting changes,camera settings and object orientation. It is also possible for a colorprofile to be mapped to object orientation relative to the camera. Inthis manner, we can obtain a histogram or color profile which is basedon a specific view of an object, which in turn can be computed based onGPS data. IMU data, camera sensor data, or the like.

Further, the color matching may be used to assist other templatematching techniques in finding a correct match to a representation of anobject in an image. For example, matching which involves correlatingobject representations with a pixel template may result in detectingmultiple object representations which have the same or similarcorrelations with the pixel template. In this case, color profile datacan be used for the multiple representations to determine which isoptimal. Similarly, matching which involves correlating a model templatewith a morphologically processed image may result in detecting multiplematches which have the same or similar correlations with the template.In this case, color profile data can be used for the multiple matches todetermine which is optimal.

FIG. 24 a depicts an overview of a system for providing fluid flow data.A further enhancement can be achieved by providing graphics which depictthe fluid flow around an object, such as the air flow around a car orother moving object. The techniques provided are generally applicable toother fluid flows such as water flow, e.g., in a boat race. In thecontext of a race car or other vehicle, for instance, such graphicsinform the viewer of how the air flows around the car and how the flowaround one car affects another car. Such graphics can be educational aswell as entertaining. However, fluid models have conventionally involvedcomputational fluid dynamics (CFD) models which are very computationallyintensive. Conventional CFD models are not suitable for use in providingupdated graphics for each frame in a video broadcast in real time, forinstance. However, fluid flow models which perform most of theircomputations off-line can be used. One example approach is discussed inA. Treuille et al. “Model reduction for real-time fluids,” ACMTransactions on graphics 25(3), SIGGRAPH 2006, p. 826-834, incorporatedherein by reference, which describes a model reduction approach to fluidsimulation.

One example approach involves calculating the air flow for an object byitself at different object speeds, including, at each speed, timevarying effects in the flow field such as swirling. For instance, thetime varying effects can include components that vary with differentfrequencies. A baseline vector field can be defined at a reference speedof the object, and modification factors defined to indicate how thebaseline vector field should be modified for different speeds. Thebaseline vector field defines particle locations and velocities.Further, the air flow can be calculated when the object is near one ormore other objects, at different object speeds. Additional modificationfactors can then be defined to indicate how the baseline vector fieldshould be modified based on the presence of the one or more otherobjects. Once the above information is obtained before an event, it canbe implemented in real time during a live event. For example, asimulation can be run which determines the flow of particles around theobject based on the time varying effects and the modification factors.The simulation can be updated for each frame of video to account forframe-to-frame movement of the particles and frame-to-frame changes inthe modification parameters, e.g., due to frame-to-frame changes in theobject speed and/or positions of nearby objects. In some cases, onlyrelative changes in position between a modeled object and a nearbyobject need be considered, even though their absolute positions change.

In one possible approach, inputs which are provided to a fluid flowmodel 2406 before an event (pre-event) include object shape 2400 and thelocations of other nearby objects 2404 which are close enough to affectthe fluid flow of the subject, modeled object. A working volume 2402which contains the object is also defined. Outputs of the fluid flowmodel include a baseline fluid flow in the volume, with time varyinginformation 2408, and fluid flow modification factors for object speedand positions of other objects 2410. The baseline fluid flow can berepresented as a baseline velocity/force vector field in the givenvolume which contains the object, while the modification factors 2410provide a way to derive modified vector fields from the baseline vectorfield for various scenarios. These scenarios can include a single objectin the volume or multiple moving objects. For example, the baselinevector field can include a baseline velocity field which is modified byadjustments based on other objects around the subject, e.g., modeled,object.

Moreover, a particle of the volume can be expressed by a set of(location, velocity (at reference object speed), force) coordinates,where reference object speed is a particular speed of the object. Thelocation of the particle is defined relative to a designated point, forinstance, in a desired coordinate system. The velocity of the particledenotes speed and direction, as a vector. The force can represent apressure which acts, for instance. Characteristics of each particle inthe flow at any given time can be determined for different speeds of theobject. The modification factors can be ratios which are expressed byequations, lookup tables or the like. Furthermore, interpolation may beused as needed.

For example, a reference object speed at which the baseline vector fieldis set may be 100 mph. The flow is then expressed by a set of (location,velocity (at object reference speed), force) coordinates for all pointsin the volume. For other object speeds, the flow can be expressed by aset of (location, velocity(at object reference speed)×modificationfactor, force) for all points in the volume. Thus, the particle velocitycan be adjusted upward or downward, generally, for object speeds higheror lower than the reference speed. The modification factor willgenerally depend on the location of the particle in the flow as well.Thus, modification factors can be expressed as a set of (location,modification factor) coordinates for each particle. Modification factorscan be determined at different object speeds such as 10 mph, 120 mph andso forth, as well as for different relative locations of other objects.Interpolation can be used for intermediate speeds and locations.

For example, modification factors at 110 mph and 120 mph, which areoutput from the pre-event processing, can be interpolated during theevent to provide a modification factor for 115 mph. As a specificexample, a baseline vector field component for a particle at a locationon the roof of the car may indicate a velocity of 120 mph at a car speedof 100 mph due to a relatively low pressure on the roof. A modificationfactor may be a multiplier of 1.05 at a car speed of 110 mph and 1.10 ata car speed of 120 mph, so that the updated vector field component forthe particle is 126 mph at 110 mph or 132 at a car speed of 120 mph.

As mentioned above, the simulation can also account for the fact thatthere are one or more other objects near the subject object for whichthe flow is being calculated. For example, with cars, the fluid flowdata can be obtained with a second car directly behind the subject carby 10 feet, 20 feet and so forth. The flow data can similarly beobtained with a second car behind the subject car by 10 feet, 20 feetand so forth, and offset laterally to the left or right by 5 feet, 10feet and so forth. The flow data can similarly be obtained with a secondcar in front of the subject car, either directly or offset. Variousother combinations of positions of one or more cars relative to asubject car or other object can be employed as well as desired.Moreover, as with speed, interpolation can be used for intermediatelocations. For example, modification factors for a car 20 feet behindand 40 feet behind the modeled car, which are output from the pre-eventprocessing, can be interpolated during the event to provide amodification factor for a car 30 feet behind the modeled car.

Further, the identity and characteristics of the one or more otherobjects near the subject, modeled object can be obtained and factoredinto the fluid flow via the modification factors. For example, in a raceinvolving different sizes of cars, the identity of a second car near thesubject car can be obtained, such as from telemetry data from the secondcar. Modification factors which are associated with the interfering carcan then be obtained for modifying the fluid flow accordingly.Generally, different types of modification factors can be indexed andmade available for quick look up during the video processing.

The simulation can also account for the object's position, such as arace car's position, including orientation, on a track.

After the pre-event processing occurs, processing during the eventoccurs in which the fluid flow simulation 2412 is run to simulate themotion of particles in particle volumes. The fluid flow data can bedetermined for one or more particular particle volumes, which can be asubset of the overall volume 2402 which is being simulated. Furthermore,each volume includes many particles. The fluid flow simulation can beupdated for each video frame, in one approach. For each frame, objectspeed and position 2414 can be determined, e.g., from GPS sensors,vehicle speed sensors and the like, in real time. The speed and positionare types of information regarding movement of the object in the liveevent. The object's position may include its orientation. Other suchinformation includes acceleration, which may be obtained fromaccelerometers in the car, for instance. Similarly, the positions ofother objects 2418 can be determined. These inputs are provided to thefluid flow simulation 2412 to obtain a current state of the particles2416, such as positions and velocities. The current state provides asnapshot of the fluid flow at a point in time. In providing the currentstate, the fluid flow simulation 2412 accounts for time varying effectsof the flow due to swirls and the like. The time varying effects caninclude both periodic and non-periodic components.

Once the particle motion is updated, the object speed and position 2414,and the positions of other objects 2418 are used by a fluid flow lookupfunction 2420 to adjust the current state of the particles 2416. Thefluid flow lookup function 2420 obtains the appropriate modificationfactors based on the object speed and position 2414 and the positions ofother objects 2418, and uses them to directly obtain the correspondingflow data by modifying the baseline flow data. The updated flow data atany given time can be represented by (location, velocity, force)coordinates 2422 for the particles in the simulated volume. Graphicsprocessing 2424 call then occur based on the flow data. For example, thegraphics may be color coded selected particles, e.g., above, to thesides and behind the object, based on the particle velocities which areprovided by the fluid flow model. Opacity of the colors may also be set.The graphics which represent the fluid flow 2426 can be based on anycharacteristic of the flow, or data derived from the flow, includingaerodynamic forces and coefficients.

Generally, the flow information includes information regarding particlesflowing around the object, and is based on the shape of the object. Insome car races, for instance, each car has a very similar shape, inwhich case a generic shape can be used in the model. In other cases, themodel can account for different object shapes. In one approach, thefluid flow model 2406 is run for each different object shape. Thegraphics can be based on characteristics of the flow, such as speed,acceleration and turbulence. In one possible example, the graphics havethe appearance of smoke which is flowing past the object. Other possiblegraphics include continuous lines which depict streams of particles. Inanother approach, the flow is represented by dots or other shapes whichhave different sizes based on flow characteristics such as pressure,density or velocity. For example, areas of low velocity can berepresented by smaller dots while areas of high velocity are representedby larger dots. Or, the graphics can distinguish areas of laminar flowfrom areas of turbulent flow. In another approach, the graphics includesarrows which depict localized directions of the fluid flow. In anotherapproach, a variable level of transparency may be used to depict varyinginformation such as air pressure. Further, a varying level of fuzzinessor blurriness may be used for the graphics. For example, graphics may bemore blurred for lower flow speeds and less blurred. e.g., sharper, forhigher flow speeds. The fluid flow model could also account for theparticular environment in which the object travels and the position ofthe object in the environment. For example, for a race car, the fluidflow model might account for the effects of the track banking, turns,bumps or other irregularities in the track surface, tracked pavementtype, e.g., dirt, concrete, or cobblestones, proximity of the car to awall at the edge of the track, effects of bridges, tunnels, or otherstructures on or near the track, and so forth. Further, the fluid flowmodel might account for changes in the object itself over time, such asa reduction in weight as fuel is burned. Further, it is possible tocombine modeling data from different models, including models which usewind tunnel or other experimental data, models which use data obtainedfrom live events and purely mathematical models. Also, it is possible toprovide graphics for multiple objects at the same time. For instance,flow graphics may be provided at the same time for both of the objects2502 and 2510 in FIG. 25. The graphics may be color coded or otherwiseallow the viewer to ascertain which graphics are associated with whichobject. Or, the graphics may depict an overall fluid flow involvingmultiple objects. Moreover, in addition to obtaining the speed andposition of the cars during the live event for use in determining thefluid flow, information such as pressure and temperature from sensorscarried by the cars can be used in determining the fluid flow.

FIG. 24 b depicts a process for obtaining flow data before an event.Step 2430 includes defining one or more particle volumes around theobject for which flow is being simulated. Step 2432 includes determiningthe flow for the particles for different object speeds and positions.Step 2434 includes determining the flow modifications for differentobject speeds, positions or other parameters. Step 2436 includesrepeating steps 2430 through 2434 with one or more other objects nearthe subject object. Step 2438 includes storing the results, such as in abaseline vector field and modification factors based on speed and otherthe objects' positions, as discussed.

FIG. 24 c depicts a process for obtaining flow data during an event.Step 2440 includes beginning the fluid flow simulation. Step 2442includes determining the current speed, forces or other parameters of anobject, and step 2444 includes determining the locations of other nearbyobjects. For example, the speed and locations can be based oninstrumentation carried by the carts and sent by wireless link to theproduction facility 140. Location data provided by a car can be used tocalculate its speed based on a rate of change of location, or data froman onboard speedometer can be obtained. Step 2446 includes determining afluid flow modification factor or factors, e.g., based on object speedand, optionally, the location of one or more nearby objects. Step 2448includes updating the fluid flow simulation such as by determining thecurrent position and characteristics of particles in the flow. Thecurrent state of the flow is obtained based on how the particles havemoved since a prior state.

Step 2450 includes applying the modification factors. At this point,updated particle location, velocity and force data is available. Step2452 includes setting graphic characteristics, such as color, based onparticle location, velocity and/or force, as well as based on the objectcharacteristics such as various forces acting on the object or otherobject parameters. Or, a single color such as white may be used. Step2454 includes determining a position of the representation of the objectin the image, e.g., using the techniques discussed herein. Step 2456includes providing one or more graphics in the image which depict theflow. The graphics are positioned based on the position of therepresentation of the object in the image. Steps 2442 through 2456 maybe repeated periodically, such as for every video frame, so that thegraphics are regularly updated.

FIG. 25 depicts an image showing flow graphics. The video image 2500depicts two objects, namely cars 2502 and 2510. Graphic 2504 and 2506depict air flowing around the object 2502 as smoke, while a graphic 2512depicts air flowing around the object 2510 as smoke.

FIG. 26 depicts an image having a graphic which depicts forces acting onthe object and aero-status of the object. Here, a portion of the videoimage 2500 is provided by image 2602. The object 2502 is included withthe smoke graphic 2504. A portion of the object 2510 is included. Notethat a portion of the smoke graphic 2504 is visible in the foreground ofthe object 2510. Other portions of the smoke graphic are behind theobject 2510, that is, occluded by the object 2510. This providesadditional realism to the graphics so that they appear to be part of thelive event.

Additional graphics, discussed further below, can also be provided. Forexample, a graphic 2604 indicates a degree of aero-tight or aero-loosewhich is experienced by the object. The vertical arrow 2606 canmove-horizontally in successive video frames as the degree of aero-tightor aero-loose changes from frame to frame. Further, a graphic 2610depicts a down force on the object, while the graphic 2620 depicts aside force on the object. The use of an arrow graphic to depictaero-tightness or aero-looseness is just one example of a possiblegraphic for expressing such information. A dial, vertical bar, or othertechnique can be used as well. Similarly, the down force, side force orany other aerodynamic force can be expressed in a number of ways.

FIG. 27 depicts an overview of a system for providing aerodynamicforces/parameters. The system is depicted in a conceptual overview whichincludes an aerodynamic simulation 2704. The aerodynamic simulation 2704receives inputs such as object shape 2700 (e.g., including dragcoefficient data) and locations of other objects 2702 and providesaerodynamic parameters 2706 as an output. The aerodynamic simulation2704 can be similar to the fluid flow model discussed previously butfluid flows of particles are not needed. Instead, forces which act onthe object due to fluid flow are of primary interest. The aerodynamicparameters 2706 can include baseline aerodynamic force data andmodification factors based on object speed and the positions of otherobjects. Parameters other than force, such as pressure, density andtemperature, can also be provided. Based on the aerodynamic parameters2706, which can be obtained before an event, an aerodynamic parameterlookup/interpolation process 2710 can be employed during the event basedon a current object speed 2708 and locations of other objects 2712. Thiscan involve applying the modification factors to the baselineaerodynamic force data, analogous to determining the fluid flow based onmodification factors. Note that different modification factors aretypically used for the baseline aerodynamic force data and the baselinefluid flow data. However, it is possible for the aerodynamic simulationand the fluid flow model to share data. The process 2710 outputsaerodynamic forces/parameters 2714 which can be used to provide graphics2716.

In this approach, the aerodynamic model provides information regardingaerodynamic forces on the object. The graphic need not be positionedbased on a position of the object in the image. The graphic can beprovided in any location on the screen, for instance, together with theassociated video. The graphic and/or the data which it represents canalso be provided to interested viewers via a computer network, forinstance. The aerodynamic forces which are provided can indicate downforces, side forces, positive and negative relative drag forces, and soforth, which act on the object. The forces can be depicted as absolutevalues or relative changes from some baseline condition, such as whenthe modeled object is not affected by other objects. For example, apositive relative drag force may be a force at some location on theobject which is greater than the baseline drag force, while a negativerelative drag force may be a force at some location on the object whichis less than the baseline drag force.

Further, an amount of aero-looseness or aero-tightness can be indicatedbased on a down force on the object. In car racing, such as NASCARracing, oversteer is equated with “looseness” and understeer is equatedwith “tightness”. Oversteer occurs when a car turns more than commandedby the steering wheel. If the car is at the edge of the ability of itstires to grip the road and the rear tires start skidding before thefront tires, the car is said to be loose. The car is said to be tight ifthe front tires start to skid before the rear tires. The aero-loosecondition occurs when the car loses the aerodynamic downforce on therear tires. Due to the lack of down force on the rear tires, there isless grip than the front tires. As the car reaches the limit of thetire's ability to hold the road, the rear tires will slip before thefront tires and the car will be “aero-loose”.

For example, the aero-loose condition can affect the car when it is inthe cornering process. When the car makes a close inside pass on anothercar while maneuvering through a corner, the air gets taken off of itsspoiler when the spoiler comes up beside the outside car's roof area.This causes the rear of the car to lose grip on the track. Thiscondition also occurs on straight stretches when a car gets close on therear bumper of the car in front of it. The rear car pushes air under thelead car, causing the air above the lead car's rear spoiler to rise,taking away the down force holding the rear tires to the track.Aero-tightness is the opposite condition, where there is a good downforce on the rear but not the front so that the front of the car becomesloose.

In one approach, a baseline level of aero-tightness and aero-loosenesscan be associated with a baseline condition of the modeled car or other,such as when no other cars are around it. The car may be considered tobe neutral or balanced in this case, e.g., being neither aero-loose noraero-tight. This may correspond to the arrow 2606 in FIG. 26 being at amidpoint on the scale in the graphic 2604. The aerodynamic simulationcan determine down forces at the front and back of the car at thisbaseline condition, e.g., at a given car speed. When one or more otherobjects affect the aerodynamic forces on the modeled object, the changein the down forces at the front and back of the car from the baselinecondition can be translated to a degree of aero-tightness oraero-looseness. For example, the down force at the back of the car maybe reduced when a second car gets close to the rear bumper of the car,causing a degree of aero-looseness. A higher reduction in down forcefrom the baseline condition can be translated to a higher degree ofaero-looseness. In this case, the arrow 2606 is moved to the right inthe graphic 2604. The amount by which the arrow 2606 is moved can bebased on a linear or non-linear scale, and the range of the scale can bebased on the expected degree of aero-looseness and aero-tightness.

To illustrate, assume that, at 100 mph, in a balanced state, the rearaxle of the modeled car has an aerodynamic down force of 400 lbs. andthe front axle of the modeled car has an aerodynamic down force of 200lbs. If the presence of another car behind the modeled car results inthe rear axle of the modeled car having an aerodynamic down force of 200lbs. instead of 400 lbs, while the aerodynamic down force on the frontaxle is relatively unchanged, the arrow 2606 can be moved part way tothe right in the graphic 2604. If the presence of the other carsubsequently results in the rear axle of the modeled car having anaerodynamic down force of 100 lbs. instead of 400 lbs, while the frontaxle is relatively unchanged, the arrow 2606 can be moved further to theright in the graphic 2604 since the modeled car is more aero-loose thanwith a 2001 b. down force. The arrow 2606 can be similarly moved to theleft in the graphic 2604 to express a degree of aero-tightness. Agraphic may also be used to express whether the car is aero-tight oraero-loose, regardless of the degree. It is also possible to provide agraphic such as a flashing red light which indicates that the car maylose control due to too much aero-looseness or aero tightness. Acorresponding audible warning can similarly be provided in the videobroadcast. The aerodynamic simulation can also provide informationregarding other effects of two or more cars interacting. For example,data regarding a race car's effective horsepower increase and down forcepressure as a result of drafting (one car following closely behindanother car, in its slipstream) can be provided. The effectivehorsepower increase can be obtained based on the reduction in drag onthe drafting car using known mathematical relations. The car's dragcoefficient and speed can be used by the aerodynamic model to determinethe drag. That is, with drafting, a car may need 200 hp to maintain agiven speed, and without drafting, the car may need 220 hp to maintain agiven speed. Thus, the effective horsepower increase with drafting is 20hp. The reduction in drag due to drafting can also be depicted by agraphic. The effects of aerodynamic interactions among objects can beexpressed in other ways as well.

Moreover, in addition to obtaining the speed and position of the carsduring the live event for use in determining the aerodynamic forces,information such as pressure and temperature from sensors carried by thecars can be used in determining the aerodynamic forces. Also, graphicscan be provided which provide a comparison between the aerodynamicforces on different cars or other objects.

FIG. 28 a depicts a process for obtaining aerodynamic parameters beforean event. Step 2800 includes determining aerodynamic parameters for anobject for different object speeds and locations of other objects. Forexample, the aerodynamic parameters may include baseline aerodynamicforce data and modification factors based on object speed and thepositions of other objects. Step 2802 includes storing the results.

FIG. 28 b depicts a process for obtaining aerodynamic forces andparameters data during an event. Step 2810 includes determining thecurrent speed of an object. Step 2812 includes determining the locationsof other nearby objects. Step 2814 includes looking up the aerodynamicforces or other parameters, e.g., based on the current speed of theobject and the locations of other nearby objects. For example, themodification factors based on object speed and the positions of otherobjects may be applied to the baseline aerodynamic forces. Step 2816includes providing a graphic in the image which depicts the currentaerodynamic forces or other parameters. For example, see FIG. 26.

FIG. 29 depicts camera, processing facility and on board objectcomponents for implementing the techniques discussed herein. Thecomputer system 2900 is a simplified representation of a system whichmight be used at the processing facility 140 (FIG. 1), for instance. Thecomputer system 2900 includes a storage device 2910 such as a hard diskor portable media, a network interface 2920 for communicating with othercomputer systems, a processor 2930 for executing software instructions,a working memory 2940 such as RAM for storing the software instructionsafter they are loaded from the storage device 2910, for instance, anexample camera interface 2950 (in practice, more than one may be used),a user interface display 2960, and a wireless interface to object 2955.A wireless link 2922 represents a signal transmitted by the antenna 145.The processor communicates with a time/distance unit 2988 which can beused to provide time and/or distance data as discussed in connectionwith FIG. 1.

The storage device 2910 may be considered to be a processor readablestorage device having processor readable code embodied thereon forprogramming the processor 2930 to perform methods for providing thefunctionality discussed herein. The user interface display 2960 canprovide information to a human operator based on the data received fromthe camera via the interface 2950. The user interface display 2960 canuse any known display scheme, whether graphical, tabular or the like. Inaddition to an on-screen display, an output such as a hard copy fromprinter can be provided to report results. Results can also be reportedby storing data at the storage device 2910 or other memory, e.g., forlater use.

An example camera 2970 includes extrinsic parameter sensors 2972 andintrinsic parameter sensors 2974. The extrinsic parameter sensors 2972can identify an orientation of the camera, such as a pan and tilt of thecamera. The intrinsic parameter sensors 2974 can identify a zoomsetting, whether an expander is used and so forth. The camera 2970communicates image data, whether analog or digital, in addition to datafrom the extrinsic parameter sensors 2972 and the intrinsic parametersensors 2974 to the computer system 2900 via the camera interface 2950.It is also possible to determine camera extrinsic and intrinsicparameters without sensors 2972 or 2974, as described above in referenceto Tsai's method.

The object 2980 includes equipment that is carried on board, including acontrol 2984, local wireless transmitter/receiver 2982, inertialmeasurement unit (IMU) 2987 and GPS receiver 2986. The local wirelesstransmitter/receiver 2982 can receive signals from multiple localantennas (see also antennas 120, 122, 124 in FIG. 1) to determine alocation of the object. The local wireless transmitter/receiver 2982 canalso transmit data to the processing facility's computer system 2900,such as location data from the GPS receiver 2986 and orientation data(roll, pitch and heading) from the IMU 2987.

Further, the functionality described herein may be implemented using oneor more processor readable storage devices having processor readablecode embodied thereon for programming one or more processors to performthe processes described herein. The processor readable storage devicescan include computer readable media such as volatile and nonvolatilemedia, removable and non-removable media. By way of example, and notlimitation, computer readable media may comprise computer storage mediaand communication media. Computer storage media includes volatile andnonvolatile, removable and non-removable media implemented in any methodor technology for storage of information such as computer readableinstructions, data structures, program modules or other data. Computerstorage media includes, but is not limited to, RAM, ROM, EEPROM, flashmemory or other memory technology, CD-ROM, digital versatile disks (DVD)or other optical disk storage, magnetic cassettes, magnetic tape,magnetic disk storage or other magnetic storage devices, or any othermedium which can be used to store the desired information and which canbe accessed by a computer. Communication media typically embodiescomputer readable instructions, data structures, program modules orother data in a modulated data signal such as a carrier wave or othertransport mechanism and includes any information delivery media. Theterm “modulated data signal” means a signal that has one or more of itscharacteristics set or changed in such a manner as to encode informationin the signal. By way of example, and not limitation, communicationmedia includes wired media such as a wired network or direct-wiredconnection, and wireless media such as acoustic, RF, infrared and otherwireless media. Combinations of any of the above are also includedwithin the scope of computer readable media.

The foregoing detailed description of the invention has been presentedfor purposes of illustration and description. It is not intended to beexhaustive or to limit the invention to the precise form disclosed. Manymodifications and variations are possible in light of the aboveteaching. The described embodiments were chosen in order to best explainthe principles of the invention and its practical application, tothereby enable others skilled in the art to best utilize the inventionin various embodiments and with various modifications as are suited tothe particular use contemplated. It is intended that the scope of theinvention be defined by the claims appended hereto.

1. A method for processing image data, comprising: obtaining an image ofa live event which is captured by at least one camera, the live eventincluding a moving object; obtaining information regarding movement ofthe object in the live event; determining a fluid flow relative to theobject using a fluid flow model, including accessing fluid flow datarelative to the object which is computed without the informationregarding the movement, and adjusting the fluid flow data based on theinformation regarding the movement; and providing a graphic in the imagewhich depicts the fluid flow relative to the object.
 2. The method ofclaim 1, wherein: the information regarding the movement of the objectcomprises the speed of the object.
 3. The method of claim 1, wherein:the information regarding the movement of the object comprises theposition of the object.
 4. The method of claim 1, further comprising:determining a location of another object in the live event; anddetermining the fluid flow based on the location of the another object.5. The method of claim 1, wherein: the fluid flow data comprisesmodification factors and baseline fluid flow data, and the adjustingcomprises applying the modification factors to the baseline fluid flowdata during the live event, based on the information regarding themovement, to determine the fluid flow relative to the object.
 6. Themethod of claim 5, wherein: the modification factors are based on aspeed of the object.
 7. The method of claim 5, wherein: the modificationfactors are based on a position of the object.
 8. The method of claim 5,further comprising: determining a location of another object in the liveevent, the modification factors are based on the location of the anotherobject in the live event.
 9. The method of claim 1, further comprising:obtaining at least one additional image of the live event; obtainingupdated information regarding movement of the object in the live event;determining an updated fluid flow relative to the object based on theupdated information regarding movement, by adjusting the fluid flow databased on the updated information regarding the movement; and updatingthe graphic based on the updated fluid flow.
 10. The method of claim 1,wherein: the live event comprises a race and the object comprises avehicle.
 11. A method for processing image data, comprising: obtainingan image of a live event which is captured by at least one camera, thelive event including a moving object; obtaining information regardingmovement of the object in the live event; determining a fluid flowrelative to the object using a fluid flow model, including providingfluid flow data based on the information regarding the movement; andproviding a graphic in the image which depicts the fluid flow relativeto the object.
 12. The method of claim 11, wherein: the fluid flow modelcomprises modification factors and baseline fluid flow data, and theproviding fluid flow data comprises applying the modification factors tothe baseline fluid flow data during the live event, based on theinformation regarding the movement, to determine the fluid flow relativeto the object.
 13. A system for processing image data, comprising: atleast one camera for capturing a plurality of images of a live event,the live event including a moving object; and at least one processingfacility which receives the plurality of images, the at least oneprocessing facility: a) obtains information regarding movement of theobject in the live event for each of the plurality of images, b)determines a fluid flow relative to the object for each of the pluralityof images, based on the movement, and using a fluid flow model,including accessing fluid flow data relative to the object which iscomputed without the information regarding the movement, and adjustingthe fluid flow data based on the information regarding the movement andc) updates a graphic in each of the plurality of images which depictsthe fluid flow relative to the object.
 14. The system of claim 13,wherein: the fluid flow data comprises modification factors and baselinefluid flow data, which are pre-computed before the image of the liveevent is obtained; and the at least one processing facility adjusts thefluid flow data by applying the modification factors to the baselinefluid flow data during the live event to determine the fluid flowrelative to the object.
 15. The system of claim 13, wherein: themodification factors are based on a speed of the object.
 16. The systemof claim 13, wherein: the at least one processing facility determines alocation of another object in the live event, the modification factorsare based on the location of the another object in the live event.
 17. Amethod for processing image data, comprising: obtaining an image of alive event which is captured by at least one camera, the live eventincluding an object; obtaining information indicative of a speed of theobject in the live event; determining at least one aerodynamic force onthe object based on the information; and providing a graphic based onthe at least one aerodynamic force.
 18. The method of claim 17, furthercomprising: obtaining at least one additional image of the live event;obtaining updated information indicative of an updated speed of theobject in the live event; determining at least one updated aerodynamicforce on the object based on the updated information; and updating thegraphic based on the at least one updated aerodynamic force.
 19. Themethod of claim 17, wherein: the object comprises a vehicle, and thegraphic depicts whether the vehicle is aero-loose or aero-tight.
 20. Themethod of claim 17, wherein: the graphic depicts a change in horsepowerwhich corresponds to a change in aerodynamic drag.
 21. The method ofclaim 17, wherein: the graphic depicts at least one of a side force anda down force on the object.
 22. The method of claim 17, wherein: thegraphic depicts a drag force on the object.
 23. The method of claim 17,wherein: the graphic depicts a positive or negative relative drag forceon the object.
 24. The method of claim 17, wherein the image is part ofa video broadcast of the live event, and the graphic is provided in theimage substantially in real time.
 25. The method of claim 17, furthercomprising: pre-computing baseline aerodynamic force data, andmodification factors, before the image of the live event is obtained;and applying the modification factors to the baseline aerodynamic forcedata during the live event, based on the information, to determine theat least one aerodynamic force on the object.